package com.itlong.cloud.enumerate.ecode;


import lombok.Getter;
import lombok.Setter;

/**
 * <desc>
 *      运营错误码定义
 * </desc>
 *
 * @create 2017/09/21
 */
public enum OperateErrorCodeEnum {
    /*
    *mainCode为2表示运营模块错误，subCode可用范围为1至999；
   */

    USER_LOGIN_ERROE(2,999,"账号或密码错误,请重新输入"),
    USER_TOKEN_ERROR(2,998,"获取不到用户token"),
    USER_AUTH_ERROR(2,997,"用户没有权限"),
    USER_UPDATE_PASSWORD(2,996,"旧密码错误，请重新输入"),
    USER_LOGIN_ROLE_AUTH(2,995,"您的账户未分配角色,请联系管理员！"),
    USER_UPDATE_PASSWORD_SAME(2,994,"新密码不能和原密码一样！"),
    PUB_ACCOUNT_REMOTE_LOGIN(2,993,"您的账号已在其他设备登录，如非本人操作，请重新登录修改密码！"),
    PUB_CHECK_TOKEN_FAIL(2,992,"账号长时间未操作"),
    PUB_LOGIN_ACCOUNT_IS_NOT_EXIST(2,991,"账号或密码错误，请重新输入"),
    PUB_ROBOT_SWITCH_CLOSE_ERR(2,990,"未开通机器人调试工具"),
    USER_ACCOUNT_EXPIRE_ERR(2,989,"您的账号未在有效期内，暂时无法登陆！"),
    /*运营系统公用  subCode可用范围为1~99*/
    PUB_PROJECT_ID_EMPTY_ERR(2,1,"项目编号不能为空"),
    NOT_PARAM(2,2,"参数不匹配"),
    COUNTRY_ID_EMPTY_ERR(2,3,"国家编号不能为空"),
    BUILD_ID_EMPTY_ERR(2,4,"楼栋编号不能为空"),
    LACK_OF_PARAMETER(2,5,"删除安装包操作缺少必要参数！"),
    PACKAGE_NOT_MATCH(2,6,"检测到升级包与设备不匹配，你还要继续吗？"),


    /*项目 subCode可用范围为100~199*/
    PROJECT_ID_INVALID_ERR(2,100,"项目编号不合法"),
    PROJECT_NAME_INVALID_ERR(2,101,"项目名称不合法"),
    PROJECT_LOCATION_INVALID_ERR(2,102,"项目所在地不合法"),
    PROJECT_STATUS_INVALID_ERR(2,103,"项目状态不合法"),
    PROJECT_IS_PRIVATE_CLOUD_INVALID_ERR(2,104,"项目私有云状态不合法"),
    PROJECT_PUB_KEY_EMPTY_ERR(2,105,"项目公钥不能为空"),
    PROJECT_EXIST(2,106,"项目已存在"),
    PROJECT_NOT_EXIST(2,107,"项目不存在"),
    PROJECT_IS_BANNED(2,108,"项目未启用"),
    PROJECT_FUNCITON_ISNOT_ALLOWD(2,109,"功能互斥，物业增值与共享电梯不能同时开启！"),

    /*设备型号 subCode可用范围为200~299*/
    PRODUCT_TYPE_DEV_KIND_INVALID_ERR(2,200, "设备类型不合法"),
    PRODUCT_TYPE_NAME_INVALID_ERR(2,201,"设备名称名称不合法"),
    PRODUCT_TYPE_CODE_INVALID_ERR(2,202,"设备型号不合法"),
    PRODUCT_TYPE_PID_INVALID_ERR(2,203,"设备PID不合法"),
    PRODUCT_TYPE_SECRET_KEY_INVALID_ERR(2,204,"签名私钥不合法"),
    PRODUCT_TYPE_PUB_KEY_INVALID_ERR(2,205,"签名公钥不合法"),
    PRODUCT_TYPE_SERVER_KEY_INVALID_ERR(2,206,"服务器公钥不合法"),
    PRODUCT_TYPE_REMARK_TOO_LONG_ERR(2,207,"设备描述信息过长"),
    PRODUCT_TYPE_KEY_FILES_EMPTY_ERR(2,208,"云对讲设备密钥文件不能为空"),
    PRODUCT_TYPE_PID_EXIST_ERR(2,209,"设备PID已存在"),
    PRODUCT_TYPE_KEY_FILES_UPLOAD_ERR(2,210,"云对讲设备密钥文件上传失败"),
    PRODUCT_DEVICE_KIND_INVALID_ERR(2,211,"设备类型不合法"),
    PRODUCT_DEVICE_IS_RELEVANCY_ERR(2,212,"此设备已有项目关联，不能删除"),

    /*用户 subCode可用范围为300~399*/
    USERNAME_EXIST(2,300,"用户账号已存在"),
    USER_ID_EMPTY_ERR(2,301,"用户编号不能为空"),
    USER_STATUS_ANVALID_ERR(2,302,"用户状态不合法"),
    USER_REPLY_CONTENT_EMPTY_ERR(2,303,"用户回复内容不能为空"),
    USER_ROLE_NAME_EXIST(2,319,"角色名已存在"),
    ROLE_BAN_ERROR(2,320,"禁用的角色不能分配人员"),
    APP_FUNCTION_ERROR(2,321,"此功能不可被禁用"),


    SIP_ID_EMPTY_ERR(2,304,"SIP服务器编号不能为空"),
    SIP_NAME_EMPTY_ERR(2,305,"SIP服务器名字不能为空"),
    SIP_ADDRESS_EMPTY_ERR(2,306,"SIP服务器地址不能为空"),
    SIP_PORT_EMPTY_ERR(2,307,"SIP服务器端口不能为空"),
    SIP_STATUS_ANVAID_ERR(2,308,"SIP服务器状态不合法为空"),
    SIP_DOMAIN_EMPTY_ERR(2,309,"区域编号不能为空"),
    SIP_TURNSERVICE_EMPTY_ERR(2,310,"穿透服务器地址不能为空"),

    PROPERTY_ACCOUNT_PROPERTY_NAME_INVALID_ERR(2,311,"物业名称不合法"),
    PROPERTY_ACCOUNT_ROLE_ROLE_ID_INVALID_ERR(2,312,"管理员类型不合法"),
    PROPERTY_PUB_ROLES_EMPTY_ERR(2,313,"公共管理员类型不存在"),
    PROPERTY_ACCOUNT_MANAGE_PROJECT_INVALID_ERR(2,314,"管辖项目不合法"),
    PROPERTY_ACCOUNT_USER_NAME_INVALID_ERR(2,315,"管理员账号不合法"),
    PROPERTY_ACCOUNT_USER_NAME_EXIST_ERR(2,316,"管理员账号已存在"),
    PROPERTY_ACCOUNT_DESCRIPTION_TOO_LONG_ERR(2,317,"备注过长"),
    PROPERTY_ACCOUNT_STATUS_INVALID_ERR(2,318,"管理员账号状态不合法"),
    PROPERTY_ACCOUNT_IS_NOT_DEVELOPER(2,322,"该账号不是开发者账号"),
    USER_PROJECT_FORMAT_ERROR(2,323,"用户项目关联格式错误"),

    /*运营 subCode可用范围为400~499*/
    SMSCODE_ERR(2,400,"验证码验证错误"),
    RECORDTYPE_EMPTY_ERR(2,401,"通行记录类型不合法"),

    AD_STATUS_ANVALID_ERR(2,402,"广告状态不合法"),
    AD_TYPE_ANVALID_ERR(2,403,"广告板块类型不合法"),
    AD_TITLE_EMPTY_ERR(2,404,"广告标题不能为空"),
    AD_IMGINFO_EMPTY_ERR(2,405,"广告图片信息不能为空"),
    AD_ID_EMPTY_ERR(2,406,"广告ID不能为空"),
    AD_PUBLISHSTATUS_ANVALID_ERR(2,407,"广告发布状态不合法"),

    IMAGE_RESOURCE_EMPTY_ERR(2,408,"图片资源不能为空"),
    IMAGE_TYPE_ANVALID_ERR(2,409,"图片格式不合法"),


    PUSHINFO_TYPE_EMPTY_ERR(2,410,"推送消息类型不能为空"),
    PUSHINFO_TIME_EMPTY_ERR(2,411,"推送时间不能为空"),
    PUSHINFO_CONTENT_EMPTY_ERR(2,412,"推送消息内容不能为空"),
    PUSHINFO_ID_EMPTY_ERR(2,413,"推送消息ID不能为空"),

    APP_PUBLISH_INFO_APPTYPE_EMPTY_ERR(2,414,"发布类型不能为空"),
    APP_PUBLISH_INFO_APPSORT_EMPTY_ERR(2,415,"版本环境不能为空"),
    APP_PUBLISH_INFO_APPVERSION_EMPTY_ERR(2,416,"版本号不能为空"),
    APP_PUBLISH_INFO_APPURL_EMPTY_ERR(2,417,"APP地址不能为空"),
    APP_PUBLISH_INFO_APPDOWNURL_EMPTY_ERR(2,418,"APP下载地址不能为空"),
    APP_PUBLISH_INFO_MUSTUPDATE_EMPTY_ERR(2,419,"强制更新不能为空"),
    APP_PUBLISH_INFO_PUBLISHID_EMPTY_ERR(2,420,"发布日志ID不能为空"),

    AD_PUBLISH_TIME_EMPTY_ERR(2,421,"广告投放周期不能为空"),

    UI_NAME_EMPTY_ERR(2,422,"UI名称不能为空"),
    UI_PROJECT_EMPTY_ERR(2,423,"关联项目不能为空"),
    UI_TYPE_INVALID_ERR(2,424,"UI类型不合法"),
    UI_FILE_INVALID_ERR(2,425,"UI文件不合法"),
    UI_BACKGROUND_ERR(2,426,"物业系统UI背景颜色不能为空"),
    UI_LOGO_URL_EMPTY_ERR(2,427,"物业系统logo不能为空"),
    UI_ID_EMPTY_ERR(2,428,"UI编号不能为空"),
    UI_SHOW_NAME_EMPTY_ERR(2,429,"文件显示昵称不能为空"),

    FACE_APPLY_NAME_EMPTY_ERR(2,430,"应用名称不能为空"),
    FACE_APP_ID_INVALID_ERR(2,431,"APP ID不合法"),
    FACE_API_KEY_EMPTY_ERR(2,432,"API KEY不能为空"),
    FACE_SECRET_KEY_EMPTY_ERR(2,433,"SECRET KEY不能为空"),
    FACE_APP_ID_EXIST_ERR(2,434,"已经存在该APP ID记录"),
    FACE_APP_ID_USE_ERR(2,435,"该应用已绑定有项目，无法删除！"),
    FACE_SCORE_INVALID_ERR(2,436,"人脸识别率不能为空"),
    FACE_EXIST_DATA_ERR(2,437,"人脸库已有人脸数据，无法删除"),

    PAPER_SEARCH_CREATE_TIME_AVAILABLE_ERR(2,438,"说明书查询条件创建时间区间无效"),
    PAPER_TITLE_EMPTY_ERR(2,439,"说明书名称不能为空"),
    PAPER_NO_EMPTY_ERR(2,440,"说明书型号不能为空"),
    PAPER_NUMBER_EMPTY_ERR(2,441,"说明书编号不能为空"),
    PAPER_TYPE_EMPTY_ERR(2,442,"说明书类型不能为空"),
    PAPER_LOGO_EMPTY_ERR(2,443,"说明书LOGO非法"),
    PAPER_IMG_EMPTY_ERR(2,444,"说明书详情不能为空"),
    PAPER_IMG_UPLOAD_ERR(2,445,"说明书详情上传到服务器失败"),
    PAPER_IMG_TYPE_INVALID_ERR(4,446,"说明书详情图片不是合法的jpg格式"),
    PAPER_IMG_NAME_INVALID_ERR(4,447,"说明书详情图片命名非法"),
    PAPER_NUMBER_EXIST_ERR(4,448,"说明书编号已存在"),
    PAPER_QR_CODE_CREATE_ERR(4,449,"生成二维码失败"),
    PAPER_NUMBER_INVALID_ERR(2,450,"说明书编号格式非法，须为00001至99999以内编号"),
    PACKAGE_UPDATE_ID_EMPTY_ERR(2,451,"更新文件编号,不能为空"),
    PACKAGE_DEVICE_TYPE_EMPTY_ERR(2,452,"软件类型,不能为空"),
    PACKAGE_VERSION_EMPTY_ERR(2,453,"版本号,不能为空"),
    PACKAGE_DEVICE_UPDATE_TO_MUCH_ERR(2,454,"在1小时内已进行过升级操作不允许进行重复升级"),
    TIME_AVAILABLE_ERR(2,455,"时间区间无效"),
    EXPORT_DATA_EMPTY_ERR(2,456,"无数据可导出！"),
    EXPORT_FILE_SAVE_ERR(2,457,"导出文件保存失败"),
    /*运营 财务使用*/
    REFUSE_CASHIDS_EMPTY_ERR(2,458,"提现记录编号不能为空"),
    TRADE_AMCOUNT_ERR(2,459,"交易金额不能为0或负数"),
    AMCOUNT_NOT_ENOUGH_ERR(2,460,"备付金余额不足"),
    WECHAT_MCHI_AMCOUNT_NOT_ENOUGH_ERR(2,461,"微信商户号余额不足"),
    THIRDPAY_THIRDPARTYPAYMENT_EMPTY_ERR(2,462,"第三方支付公司不能为空"),
    THIRDPAY_FEERULE_EMPTY_ERR(2,463,"手续费规则不能为空"),
    THIRDPAY_HANDINGFEE_EMPTY_ERR(2,464,"手续费不能为空"),
    THIRDPAY_STATUS_EMPTY_ERR(2,465,"状态不能为空"),
    THIRDPAY_DATA_REPEAT_ERR(2,466,"已存在当前第三方支付信息"),
    THIRDPAY_TAKEHANDLINGFEE_EMPTY_ERR(2,467,"收款手续费不能为空"),
    THIRDPAY_PAYHANDLINGFEE_EMPTY_ERR(2,468,"付款手续费不能为空"),
    THIRDPAY_LOWAMOUNT_EMPTY_ERR(2,469,"自动提现最小金额不能为空"),
    THIRDPAY_LOWAMOUNT_TOO_LOW_ERR(2,470,"自动提现最小金额不能小于2000"),
    THIRDPAY_PAYMENTMANAGEMENTID_EMPTY_ERR(2,471,"支付管理ID不能为空"),
    NOT_ALLOWED_CHINAPAY_TRADE(2,472,"银联转账暂时升级维护，请您稍后再试"),
    PACKAGE_UPDATE_NAME_EMPTY_ERR(2,473,"更新文件名称,不能为空"),
    ROBOT_ACCOUNT_LOGIN_COUNT_ERR(2,474,"同时登录限制数只能为1-4"),
    ROBOT_ACCOUNT_STATUS_ERR(2,475,"登录状态只能为激活或启用"),
    ROBOT_ACCOUNT_TIME_ERR(2,476,"生效时间必须小于失效时间"),
    ROBOT_ACCOUNT_EXIST_ERR(2,477,"该机器人账号已经存在"),
    CLOUD_INTERCOM_FILE_EMPTY_ERR(2,478,"上传token文件不能为空"),
    CLOUD_INTERCOM_FILE_FORMAT_ERR(2,479,"上传token文件中数据格式非法"),
    REFUSE_TRADSTATUS_EMPTY_ERR(2,480,"提现状态不能为空"),
    REFUSE_TRADSTATUS_ERR(2,481,"提现状态内容不合法"),
    CLOUD_INTERCOM_APPID_FILE_EMPTY_ERR(2,482,"上传appid应用文件不能为空"),
    CLOUD_INTERCOM_APPID_FILE_FORMAT_ERR(2,483,"上传appid应用文件中数据格式非法"),
    PLAN_MANAGE_PLANNAME_EMPTY_ERR(2,484,"方案名称不能为空"),
    PLAN_MANAGE_PLANNAME_REPEAT_ERR(2,485,"方案名称不能重复"),
    PLAN_MANAGE_PLANID_EMPTY_ERR(2,486,"方案编号不能为空"),
    PARKING_LOT_MANAGE_PARKING_SPACE_TOTAL_EMPTY_ERR(2,487,"总车位数不能为空"),
    PARKING_LOT_MANAGE_ADDRESS_EMPTY_ERR(2,488,"地址不能为空"),
    PARKING_LOT_MANAGE_PLANID_EMPTY_ERR(2,489,"关联方案不能为空"),
    PARKING_LOT_MANAGE_PARKID_EMPTY_ERR(2,490,"停车场编号不能为空"),
    PARKING_LOT_MANAGE_IS_USE_ERR(2,491,"停车场已被使用,不能删除"),
    PARKING_LOT_MANAGE_REPEAT_ERR(2,492,"该项目停车场已被存在,不可重复添加"),
    PLAN_MANAGE_PLANID_IS_EXIST(2,493,"该方案已关联项目，不可删除"),
    NO_ENOUGH_AUTH_CODE(2,494,"授权码库存不足"),
    SHARE_PROFIT_RULE_IN_USE_ERR(2,495,"该项数据已被关联使用，目前为不可修改状态！"),
    HOMEPAGE_STARTTIME_EMPTY_ERR(2,496,"开始时间不能为空"),
    HOMEPAGE_ENDTIME_EMPTY_ERR(2,497,"结束时间不能为空"),
    HOMEPAGE_NAME_EMPTY_ERR(2,498,"启动页名称不能为空"),
    HOMEPAGE_IMAGE_EMPTY_ERR(2,499,"图片不能为空"),
    HOMEPAGE_ID_EMPTY_ERR(2,500,"启动页编号不能为空"),
    ACTIVITIES_PROJECTID_EMPTY_ERR(2,501,"项目编号不能为空"),
    ACTIVITIES_NAME_EMPTY_ERR(2,502,"活动主题不能为空"),
    ACTIVITIES_SKIPFLAG_EMPTY_ERR(2,503,"需要跳转不能为空"),
    ACTIVITIES_CONTENT_EMPTY_ERR(2,504,"消息内容不能为空"),
    ACTIVITIES_ID_EMPTY_ERR(2,505,"活动编号不能为空"),
    AD_PUBLISH_PLATFORM_TYPE_IS_EMPTY(2,506,"广告发布平台不能为空"),
    FINANCE_RENEW_MANAGE_ACCEPT_ERR(2,507,"该项目已从商务收费管理中删除或禁用，不可审核通过！"),
    FINANCE_BUSINESS_CHARGE_EXIST_ERR(2,508,"您选择的项目该批次号已添加收费信息，操作失败！"),
    DEVICE_WHITE_LIST_MAC_IS_EXIST(2,509,"mac地址已存在，请勿重复添加"),
    FILE_SIZE_OUT_OF_LIMIT_ERR(2,510,"文件大小超出限制"),
    DEVICE_QR_CODE_COULD_NOT_DELETE_ERR(2,511,"选中的数据包含已使用或已禁用的二维码，不能删除!"),
    DEVICE_QR_CODE_MAX_ERR(2,512,"创建该数量的设备二维码超出今天所能创建的最大值"),
    DEVICE_WHITE_LIST_IMPORT_FILE_ERR(2,513,"导入的设备白名单信息不符合要求，%s 实际为：%s"),
    MAC_ADDRESS_FORMAT_ERR(2,514,"mac地址格式错误!"),
    DEVICE_WHITE_LIST_DATA_ERR(2,515,"设备白名单存在非法数据"),
    DEVICE_WHITE_LIST_IMPORT_TOO_MANY_ERR(2,516,"单次导入数据不能多于%s条，请重新导入"),
    IMPORT_FILE_REPEAT_MAC_ADDRESS(2,517,"导入的文件中有重复的mac地址"),
    PROJECT_IMPORT_FILE_LOST_ERR(2,518, "导入文件缺失"),
    DEVICE_WHITE_LIST_AUTH_FILE_LOSE_ERR(2,519,"导入的授权文件为空"),
    DEVICE_WHITE_LIST_EVIDENCE_FILE_TOO_MANY_ERR(2,520,"次数凭证文件最多不能超过3个"),
    DEVICE_WHITE_LIST_AUTH_FILE_TYPE_ERR(2,521, "授权文件类型只支持zip类型"),
    DEVICE_WHITE_LIST_AUTH_FILE_TOO_LARGE_ERR(2,522,"授权文件大小不能超过500kb"),
    DEVICE_WHITE_LIST_HAVE_MAC_ADDRESS_YET_ERR(2,523,"设备白名单列表中已有该mac地址"),
    DEVICE_WHITE_LIST_FILE_NAME_REPEAT_ERR(2,524,"授权文件名称重复，请更改名称后重新添加"),
    ACTIVATED_DEVICE_COULD_NOT_DELETE_ERR(2,525, "已激活的设备不可删除！"),
    DEVICE_EVIDENCE_FILE_NAME_INVALID_ERR(2,526, "次数凭证文件名称不能包含"),
    AUTH_FILE_PASSWORD_IS_NOT_SAME_ERR(2,527, "同一时间密码不能重复"),
    DEVICE_EXIST_IN_EXCEPTION_LIST_ERR(2,528,"该设备已在异常名单内"),
    OPERATE_NONE_LICENSE_ERROR(2,529,"该项目暂无证书"),
    OPERATE_OUT_OF_MAX_PC_COUNT_ERR(2,530,"安全证书已超过系统允许最大授权数，该特征码证书获取失败。"),
    OPERATE_PC_INFO_EXIST_ERR(2,531,"该电脑特征码已存在"),
    OPERATE_PROJECT_OR_SECURITY_CODE_ERR(2,532,"项目编号或安全码信息错误"),
    OPERATE_OUT_OF_MAX_AUTH_COUNT_ERR(2,533,"已超过最大证书允许服务器电脑数%s台，添加失败"),
    OPERATE_SYNC_DATA_EXIST_ERR(2,534,"同步数据已存在"),
    OPERATE_PACKAGE_RELATION_DATA_EXIST_ERR(2,535,"该记录已被关联使用"),
    /*场景*/
    SCENE_NAME_PARAMS_IS_EMPTY(2, 536, "场景名称为空"),
    SCENE_PACKAGE_KEY_PARAMS_IS_EMPTY(2, 537, "套餐为空"),
    SCENE_USER_TYPE_PARAMS_IS_EMPTY(2, 538, "人员类型为空"),
    SCENE_USER_TYPE_PARAMS_IS_REPEAT(2, 539, "人员类型有重复值"),
    SCENE_NAME_LENGTH_ERROR(2, 540, "场景名称应该1-20个字符"),
    SCENE_USER_TYPE_LENGTH_ERROR(2, 541, "人员类型应该1-20个字符"),
    SCENE_NAME_EXIST(2, 542, "场景名称已存在"),
    SCENE_NOT_EXIST(2, 543, "场景不存在"),
    SCENE_ID_PARAMS_IS_EMPTY(2, 544, "场景id为空"),
    SCENE_USER_TYPE_ERROR(2, 545, "人员类型格式错误"),
    OPERATE_PRODUCT_MODEL_RELATED_RECORDS_EXIST_ERR(2,535,"该记录已被关联使用!"),
    OPERATE_PRODUCT_MODEL_MODEL_EXIST_ERR(2,536,"产品型号已经存在"),
    OPERATE_PRODUCT_TYPE_PRODUCT_NAME_EXIST_ERR(2,537,"任务书关联产品型号的产品名称已经存在"),
    OPERATE_PRODUCT_TYPE_ORDER_EXIST_ERR(2,538,"任务书关联产品型号的匹配顺序已经存在"),
    OPERATE_ASSIGNMENT_NOT_EXIST_ERR(2,539, "U8中不存在此任务书号"),
    OPERATE_ASSIGNMENT_CURRENT_SYNC_ERR(2, 540, "当前有数据正在同步中，请稍后再试"),
    OPERATE_PROJECT_NO_PACKAGE_ERR(2,541, "非法操作，存在项目取消绑定后无关联的套餐"),
    OPERATE_PROPERTY_FUNCTION_SYNC_ERR(2,542, "该套餐的物业菜单正在分配中，请稍后再试"),
    ;


    @Setter
    @Getter
    private ErrorCode errorCode = new ErrorCode();

    OperateErrorCodeEnum(){}

    /** 主错误码与错误信息构造函数
     *
     * @param mainCode
     */
    OperateErrorCodeEnum(Integer mainCode, String codeMsg) {
        errorCode.setMainCode(mainCode);
        errorCode.setSubCode(0);
        errorCode.setCodeMsg(codeMsg);
    }

    /** 全参构造函数
     *
     * @param mainCode
     * @param subCode
     */
    OperateErrorCodeEnum(Integer mainCode, Integer subCode, String codeMsg){
        errorCode.setMainCode(mainCode);
        errorCode.setSubCode(subCode);
        errorCode.setCodeMsg(codeMsg);
    }

    /**
     * <desc>
     *      获取错误码，取负数防止返回行数和错误码相同导致
     * </desc>
     *
     * @createDate  2020/9/23
     */
    public Integer getCode(){
        return  this.errorCode.getMainCode() * -1000 - this.errorCode.getSubCode();
    }

}
